package com.zeei.bfs.service;

import java.util.List;
import java.util.Map;

public interface BasicService<T> {
	public T getById(int id);

	public boolean update(T data);

	public boolean insert(T data);

	public boolean deleteById(int id);

	public List<T> listByCondition(Map<String, String> condition);
}
